package ooday02.homework.animal_TestOne;

public class AnimalTest {
    public static void main(String[] args) {
        Dog dog = new Dog("小黑", 6, "黑");
        dog.drink();
        dog.eat();
        dog.lookHome();

        Chick chick = new Chick("小白", 4, "白");
        chick.drink();
        chick.eat();
        chick.layEggs();

        Fish fish = new Fish("小米", 2, "金");
        fish.drink();
        fish.eat();
    }
}
